package com.ayou.eggguard.farm.service.impl;

import com.ayou.eggguard.farm.mapper.ChickenCoopMapper;
import com.ayou.eggguard.farm.mapper.EnvironmentMapper;
import com.ayou.eggguard.farm.pojo.CoopEnvironmentInfo;
import com.ayou.eggguard.farm.service.EnvironmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EnvironmentServiceImpl implements EnvironmentService {
    @Autowired
    private EnvironmentMapper environmentMapper;


    @Override
    public CoopEnvironmentInfo getCoopEnvironment(String coopNumber) {
        return environmentMapper.getCoopEnvironment(coopNumber);
    }
}
